package com.wangzhy.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author ：wangzy
 * @date ：  2021/9/16 14:11
 * @description： 下载配置
 */
@Component
@ConfigurationProperties(prefix = "download")
@Data
public class DownloadConfig {

//    @Value("${download.downloadPath}")
    private String downloadPath ;

    private String imgPrefix;

}
